Skip to content

查询子商户管控情况

服务商查询子商户的管控情况。

请求参数类型描述
sub_mchidstring子商户号
php
$instance->v3->mchOperationManage->merchantLimitations->subMchid->_sub_mchid_->getAsync([
  'sub_mchid' => '123000110',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/mch-operation-manage/merchant-limitations/sub-mchid/{sub_mchid}')->getAsync([
  'sub_mchid' => '123000110',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/mch-operation-manage/merchant-limitations/sub-mchid/{sub_mchid}']->getAsync([
  'sub_mchid' => '123000110',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->mchOperationManage->merchantLimitations->subMchid->_sub_mchid_->get([
  'sub_mchid' => '123000110',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/mch-operation-manage/merchant-limitations/sub-mchid/{sub_mchid}')->get([
  'sub_mchid' => '123000110',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/mch-operation-manage/merchant-limitations/sub-mchid/{sub_mchid}']->get([
  'sub_mchid' => '123000110',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
mchidstring商户号
limited_functionsstring[]NO_PAYMENT | NO_WITHDRAWAL | NO_REFUND | NO_TRANSACTION | NO_PROFIT_SHARING | NO_PAYMENT_POINT_COMPLETE_ORDER 枚举值之一
recovery_specificationsobject[]被管控原因及解脱路径列表
limitation_reasonstring商户被管控原因描述
recover_waystring商户被该原因管控的解脱路径
recover_help_urlstring商户被该原因管控的解脱帮助链接
limitation_reason_typestring商户被管控原因类型
LICENSE_ABNORMAL | NO_TRADE | SETTLE_ACCOUNT_ABNORMAL | RISK_ABNORMAL | OTHER 枚举值之一
relate_limitationsstring[]NO_TRANSACTION_AND_RECHARGE | NO_PAYMENT | NO_WITHDRAWAL | NO_REFUND | NO_TRANSACTION | NO_PROFIT_SHARING | NO_PAYMENT_POINT_COMPLETE_ORDER 枚举值之一
other_relate_limitationsstring商户被该原因管控的其他能力描述
other_limited_functionsstring商户其他被管控能力描述

参阅 官方文档

Published on the GitHub by TheNorthMemory